MathPSfrag 2: Convenient LaTeX Labels in Mathematica

نویسنده

  • Johannes Große
چکیده

Many programs producing EPS graphics do not allow the inclusion of LATEX commands. While there exist several solutions to work around these difficulties, they all have various drawbacks. (See [1] for a discussion of several methods and an alternative approach to overcome these difficulties.) In this article, we will focus on a particular existing solution, the PSfrag package [2], which provides LATEX macros allowing the user to replace pieces of text (“tags”) in an EPS file by an arbitrary LATEX construct. However, for PSfrag to work, the application must write tags unaltered into the EPS file. For Mathematica [3, 4], this requirement amounts to using single words, strictly consisting of alphanumeric characters only. As a consequence, the user has to work most of the time with an inconveniently labeled graphic and is furthermore required to keep track of the tags used in the substitution macros. On the other hand, it is not always possible to use Mathematica’s conventional export function as it produces EPS files requiring the inclusion of additional fonts into the document. This means configuring the local TEX installation such that it finds the fonts provided by Wolfram Inc. [5, 6, 7], a process often not being under the author’s control. A way out is to include the fonts into the EPS file and set the font family to a standard PostScript one. The required steps are version dependent— the latest version as of this writing, 6.0, has sane defaults—for 5.2, the following commands are required:

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

MathPSfrag: Creating Publication-Quality Labels in Mathematica Plots

This article introduces a Mathematica package providing a graphics export function that automatically replaces Mathematica expressions in a graphic by the corresponding LaTeX constructs and positions them correctly. It thus facilitates the creation of publication-quality Enscapulated PostScript (EPS) graphics.

متن کامل

MathPSfrag 2: Convenient LTEX Labels in Mathematica

Many programs producing EPS graphics do not allow the inclusion of LATEX commands. While there exist several solutions to work around these difficulties, they all have various drawbacks. (See [1] for a discussion of several methods and an alternative approach to overcome these difficulties.) In this article, we will focus on a particular existing solution, the PSfrag package [2], which provides...

متن کامل

MathPSfrag: LTEX labels in Mathematica plots

A Mathematica package that allows inclusion of LTEX labels in EPS graphics using PSfrag will be presented. The clue is that positioning information and TEX code is automatically generated by the package. It also contains a preview capability that imports a bitmap of the final image including the rendered LTEX labels back into Mathematica.

متن کامل

mathscape—Combining Mathematica and TEX

Millions of mathematical formulas are typeset annually. Most of the numbers we see in print are produced by computer. So are the indexes and catalogs issued by database publishers. Charts and diagrams and other products of computer graphics have replaced manually drafted copy. But most of the formulas in mathematics, engineering and science publications are still derived and coded by hand. The ...

متن کامل

MathQCDSR: A Mathematica package for QCD sum rules calculations

Submitted for the APR10 Meeting of The American Physical Society MathQCDSR: a Mathematica Package for QCD Sum Rules Calculations1 LAI WANG, George Washington University, FRANK X. LEE, George Washington Univerity — We present a software package written in Mathematica for standard QCD sum rules calculations. Two examples are given to demonstrate how to use the package. One is for the mass spectru...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/0801.2175  شماره 

صفحات  -

تاریخ انتشار 2008